﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Pager.ascx.cs" Inherits="Pager" %>

<asp:LinkButton runat="server" ID="btnPrev1" Text="<<" onclick="btnPrev_Click" Visible="false"> </asp:LinkButton>
<asp:LinkButton runat="server" ID="btnFirst" Text="|<<"  Visible="false" 
    onclick="btnFirst_Click"> </asp:LinkButton>
<asp:LinkButton runat="server" ID="btnPrev" Text="..." onclick="btnPrev_Click" Visible="false"> </asp:LinkButton>
<asp:Repeater runat="server" ID="repLink" onitemcommand="repLink_ItemCommand">
    <ItemTemplate>
        <asp:LinkButton ID="LinkButton1"  CssClass='<%#Eval("css") %>' runat="server"  Text='<%#int.Parse(Eval("Index").ToString())+1 %>' CommandArgument='<%#Eval("Index") %>'/>
    </ItemTemplate>
</asp:Repeater>


<asp:LinkButton runat="server" ID="btnNext" Text ="..." onclick="btnNext_Click" Visible="false"> </asp:LinkButton>
<asp:LinkButton runat="server" ID="btnLast" Text =">>|"  Visible="false" 
    onclick="btnLast_Click"> </asp:LinkButton>
    <asp:LinkButton runat="server" ID="btnNext1" Text =">>" onclick="btnNext_Click" Visible="false"> </asp:LinkButton>
